package com.tjbank.cssys.mybatis.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * IamMenu
 * 
 * @author PG(Auto Generator)
 * @version V1.0
 */
public class IamMenu extends IamMenuKey implements Cloneable, Serializable {
    private static final long serialVersionUID = -161123581321345589L;
    /** 菜单名称 [200,0] Not NULL */
    protected String menuName;
    /** 父菜单ID [32,0] Not NULL */
    protected String parentId;
    /** 图标 [200,0] */
    protected String menuIcon;
    /** 请求地址 [255,0] Not NULL */
    protected String menuUrl;
    /** 排序 [10,0] */
    protected Integer menuSort;
    /** 动态页面key [32,0] */
    protected String pagePk;
    /** 创建人 [20,0] */
    protected String createUser;
    /** 修改人 [20,0] */
    protected String updateUser;
    /** 创建时间 [19,0] */
    protected Date createTime;
    /** 修改时间 [19,0] */
    protected Date updateTime;
    /** 是否动态 [1,0] */
    protected String isDynamicPage;
    /** 逻辑删除 [1,0] Not NULL */
    protected String isDeleted;

    public IamMenu() {
        super();
    }

    public IamMenuKey primaryKey() {
        return new IamMenuKey(id);
    }

    /** 取值 <== 菜单名称 [200,0], Not NULL */
    public String getMenuName() {
        return menuName;
    }

    /** 赋值 ==> 菜单名称 [200,0], Not NULL */
    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    /** 取值 <== 父菜单ID [32,0], Not NULL */
    public String getParentId() {
        return parentId;
    }

    /** 赋值 ==> 父菜单ID [32,0], Not NULL */
    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    /** 取值 <== 图标 [200,0] */
    public String getMenuIcon() {
        return menuIcon;
    }

    /** 赋值 ==> 图标 [200,0] */
    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon == null ? null : menuIcon.trim();
    }

    /** 取值 <== 请求地址 [255,0], Not NULL */
    public String getMenuUrl() {
        return menuUrl;
    }

    /** 赋值 ==> 请求地址 [255,0], Not NULL */
    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl == null ? null : menuUrl.trim();
    }

    /** 取值 <== 排序 [10,0] */
    public Integer getMenuSort() {
        return menuSort;
    }

    /** 赋值 ==> 排序 [10,0] */
    public void setMenuSort(Integer menuSort) {
        this.menuSort = menuSort;
    }

    /** 取值 <== 动态页面key [32,0] */
    public String getPagePk() {
        return pagePk;
    }

    /** 赋值 ==> 动态页面key [32,0] */
    public void setPagePk(String pagePk) {
        this.pagePk = pagePk == null ? null : pagePk.trim();
    }

    /** 取值 <== 创建人 [20,0] */
    public String getCreateUser() {
        return createUser;
    }

    /** 赋值 ==> 创建人 [20,0] */
    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    /** 取值 <== 修改人 [20,0] */
    public String getUpdateUser() {
        return updateUser;
    }

    /** 赋值 ==> 修改人 [20,0] */
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
    }

    /** 取值 <== 创建时间 [19,0] */
    public Date getCreateTime() {
        return createTime;
    }

    /** 赋值 ==> 创建时间 [19,0] */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /** 取值 <== 修改时间 [19,0] */
    public Date getUpdateTime() {
        return updateTime;
    }

    /** 赋值 ==> 修改时间 [19,0] */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /** 取值 <== 是否动态 [1,0] */
    public String getIsDynamicPage() {
        return isDynamicPage;
    }

    /** 赋值 ==> 是否动态 [1,0] */
    public void setIsDynamicPage(String isDynamicPage) {
        this.isDynamicPage = isDynamicPage == null ? null : isDynamicPage.trim();
    }

    /** 取值 <== 逻辑删除 [1,0], Not NULL */
    public String getIsDeleted() {
        return isDeleted;
    }

    /** 赋值 ==> 逻辑删除 [1,0], Not NULL */
    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted == null ? null : isDeleted.trim();
    }

    /** 浅克隆 */
    @Override
    public IamMenu clone() {
        IamMenu cloneIamMenu = null;
        try {
            cloneIamMenu = (IamMenu) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
        return cloneIamMenu;
    }

    @Override
    public String toString() {
        return "IamMenu [id = " + id + ", menuName = " + menuName + ", parentId = " + parentId + ", menuIcon = "
                + menuIcon + ", menuUrl = " + menuUrl + ", menuSort = " + menuSort + ", pagePk = " + pagePk
                + ", createUser = " + createUser + ", updateUser = " + updateUser + ", createTime = " + createTime
                + ", updateTime = " + updateTime + ", isDynamicPage = " + isDynamicPage + ", isDeleted = " + isDeleted + "]";
    }
}